@model lucienneCRMApp.Models.GuestBookEntry

@{Model.Posted = DateTime.Now; }

@* This partial view defines form fields that will appear when creating and editing entities *@



<div class="editor-label">
    @Html.LabelFor(model => model.NameSurname)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.NameSurname)
    @Html.ValidationMessageFor(model => model.NameSurname)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Email)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Email)
    @Html.ValidationMessageFor(model => model.Email)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Message)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Message)
    @Html.ValidationMessageFor(model => model.Message)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Posted)
</div>
<div class="editor-field">
  
  @Html.EditorFor(model => model.Posted)
    @Html.ValidationMessageFor(model => model.Posted)
</div>

